Name :Additive operations
Symbol :ADD
Illustrate:
Add the first input to the second input and the result is assigned to the output OUT.
Image:
Parameter:
| Parameter | Statement | Type | Description |
|---|---|---|---|
| IN1 | Input | INT/SINT/DINT/UINT/USINT/UDINT/REAL/TIME | The first input value |
| IN2 | Input | INT/SINT/DINT/UINT/USINT/UDINT/REAL/TIME | The second input value |
| OUT | Output | INT/SINT/DINT/UINT/USINT/UDINT/REAL/TIME | Output value |
Example:
LD:
ST:
Interpretation:
| parameter | operand | value |
|---|---|---|
| IN1 | TagIn1 | Enter a value:10 |
| IN2 | TagIn2 | Enter a value:20 |
| OUT | TagOut | Output value:30 |
IN1 and IN2 input INT type data, and ADD outputs the additive calculation result.